package com.cxx.home.service;

import com.cxx.home.dto.ledger.LedgerDto;

import java.util.List;

public interface LedgerService {
    Boolean addLedger(LedgerDto ledgerDto);

    Boolean updateLedger(Long id, LedgerDto ledgerDto);

    Boolean deleteLedger(Long id);

    List<LedgerDto> queryLedger(String book);

    List<String> queryLedgerBook();
}
